package com.aricwang.easyprofile.place;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class MyOverlayItem extends OverlayItem {
	private String mName;
	private String mAddress;
	private float mLatitude;
	private float mLongitude;
	
	public MyOverlayItem(GeoPoint point, String name, String address, float latitude, float longitude) {
		super(point, ("Location: " + name), 
				("Address: " + address + "\n" + "Lat: " + latitude + ", Long: " + longitude));
		
		mName = name;
		mAddress = address;
		mLatitude = latitude;
		mLongitude = longitude;
	}
	
	public String getName() {
		return mName;
	}
	
	public String getAddress() {
		return mAddress;
	}
	
	public float getLatitude() {
		return mLatitude;
	}
	
	public float getLongitude() {
		return mLongitude;
	}
}
